<?php

$uiNode = $uiObj;

$views = $uiNode->getViews();

foreach ($views as $view) {
    $uiNode->renderView($view['view'], $view['data']);
}

/*

$topBar = $views['topBar'];
$appUi = Blyn::app()->getActiveServiceApp()->getUIManager();
$appLayout = $appUi->getLayoutView();
$appViews = $appUi->getViews();

$uiNode->renderView($topBar['view'], $topBar['data']);
$uiNode->renderView($appLayout, array('views' => $appViews));
 * 
 */
?>

